#include <stdio.h>

int main()
{
    int nums[6] = {17, 23, 96, 105, 27, 19};
    
    int len = sizeof(nums)/sizeof(int);

    int temp = 0;
    for(int idx=0;idx<(len/2);idx++)
    {
        temp = nums[idx];
        nums[idx] = nums[len-1-idx];
        nums[len-1-idx] = temp;
    }
    printf("nums[]={");
    for(int idx=0;idx<len;idx++)
    {
       
        if(idx==len-1)
        {
        printf("%d",nums[idx]);
        }
        else
        { 
            printf("%d, ",nums[idx]); 
        }
          
    }
    printf("}\n");
    // for(int idx=0;idx<len;idx++)
    // {
    //     printf("nums[%d] = %d\n",idx,nums[idx]);
    // }


    return 0;
}